home *** CD-ROM | disk | FTP | other *** search
- --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
- -- UNIT NAME : PRIORITIZED_QUEUE
- -- VERSION : 1.0
- -- REVIEW CODE :
- -- DDN ADDRESS : ANDERSON%TI-EG@CSNET-RELAY
- -- AUTHOR : John A. Anderson
- -- : TEXAS INSTRUMENTS MS 8006
- -- : P.O. BOX 801
- -- : MCKINNEY, TEXAS 75069
- -- COPYRIGHT : (c) 1984 John A. Anderson
- -- DATE CREATED : OCTOBER 2, 1984
- -- DATE RELEASED : NOVEMBER 27, 1984
- -- DATE LAST UPDATED : ANDERSON Wed Nov 27, 1984
- -- LOCATION : C2MUG
- -- LOCATION : ASR
- -- ENVIRONMENT : DEC VAX/VMS, DEC Ada
- --= CLASSIFICATION ===============================================--
- -- CATEGORY LEVEL 1 : COMPONENTS
- -- CATEGORY LEVEL 2 : QUEUES
- -- CATEGORY LEVEL 3 : Prioritized Queue
- -- CATEGORY LEVEL 4 :
- -- KEYWORD : QUEUE
- -- KEYWORD : PRIORITIZED QUEUE
- -- INDEX : Queue
- -- INDEX : Prioritized Queue
- -- TAXONOMY :
- -- DEPENDENCIES :
- -- SEE ALSO :
- --= FILE LISTING ===============================================--
- -- FILE SPECS : PD:<ADA.COMPONENTS>PRIOR.*
- -- DIRECTORY DISPLAY :
- -- Directory PD:<ADA.COMPONENTS>
- -- File Name Byte Count Line Count
- -- --------------- ---------- ----------
- -- PRIOR.ADA 6398 181
- -- PRIOR.PRO 3582 72
- -- =============== ========== ==========
- -- 2 Files 9980 253
- --= ABSTRACT ===============================================--
- -- This generic package creates a Prioritized Queue of objects.
- -- The Queue is First-In, First-Out except where overridden by the
- -- priority.
- --
- -- The priority may be any discrete type. It is assumed that the
- -- priorities are from lowest to highest. The type of data structure to
- -- be instantiated for the queue may be any type having assignment and
- -- equality. Other types may be enqueued by using access types. (i.e.
- -- Access variable pointing to a task.) The space for the Queue is
- -- allocated dynamically with garbage collection left up to the target
- -- system.
- --= REVISION HISTORY ===============================================--
- --
- -- DATE VERSION AUTHOR HISTORY
- -- 11/27/84 1.0 Anderson Initial Release
- --= RELEASE NOTICE ===============================================--
- -- This prologue must be included in all copies of this software.
- --
- -- This software is copyright by the author.
- --
- -- This software is released to the Ada community.
- -- This software is released to the Public Domain (note:
- -- software released to the Public Domain is not subject
- -- to copyright protection).
- -- Restrictions on use or distribution: NONE
- --= DISCLAIMER ===============================================--
- -- This software and its documentation are provided "AS IS" and
- -- without any expressed or implied warranties whatsoever. No warranties
- -- as to performance, merchantability, or fitness for a particular
- -- purpose exist.
- -- The user is advised to test the software thoroughly before
- -- relying on it. The user must assume the entire risk and liability of
- -- using this software. In no event shall any person or organization of
- -- people be held responsible for any direct, indirect, consequential or
- -- inconsequential damages or lost profits.
- --======================================================================--
-